export class DishClass {
    Name: string;
    Description: string;
    Class: number;
    Color: string;
    Icon: string;
    Price: number;
    DirectIncome: number;
    RandomIncome: boolean;

    constructor(name: string, description: string, class_: number, color: string, icon: string, price: number, directIncome: number, randomIncome: boolean) {
        this.Name = name;
        this.Description = description;
        this.Class = class_;
        this.Color = color;
        this.Icon = icon;
        this.Price = price;
        this.DirectIncome = directIncome;
        this.RandomIncome = randomIncome;
    }
}

export const DishClass3 = new DishClass("一品菜", "", 3, "#d18273", "🍖", 9, 2, true);
export const DishClass2 = new DishClass("二品菜", "", 2, "#ed9f74", "🐟", 6, 3, false);
export const DishClass1 = new DishClass("三品菜", "", 1, "#f4ca94", "🥬", 3, 2, false);
export const DishClass0 = new DishClass("四品菜", "", 0, "#fdeede", "🍚", 0, 1, false);

export const AllDishListAsc: DishClass[] = [DishClass0, DishClass1, DishClass2, DishClass3];
export const AllDishListDesc: DishClass[] = [DishClass3, DishClass2, DishClass1, DishClass0];